package com.yy.bolg.service;


import com.yy.bolg.entity.ElectricianBean;

import java.util.List;

/**
 * 电工Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2024-11-01
 */
public interface ElectricianService {

    void add(ElectricianBean bean) throws Exception;

    void del(ElectricianBean bean) throws Exception;

    void up(ElectricianBean bean) throws Exception;

    ElectricianBean findOneByPhone(ElectricianBean bean) throws Exception;

    ElectricianBean findOneByCode(ElectricianBean bean) throws Exception;

    List<ElectricianBean> findAllByCondition(ElectricianBean bean) throws Exception;

    List<ElectricianBean> findAll() throws Exception;

    String signIn(ElectricianBean bean) throws Exception;

    void signOut(ElectricianBean bean) throws Exception;

    void upState(ElectricianBean bean) throws Exception;

}
